﻿<%@ Page Title="Theo dõi lỗi hệ thống" Language="C#" MasterPageFile="~/App_MasterPages/Aquarius.Master" AutoEventWireup="true" CodeBehind="SysLogManagement.aspx.cs" Inherits="PanasonicWarranty.UI.ManageSys.SysLogManagement" %>
<%@ Register Src="../UserControl/ucPaging.ascx" TagName="ucPaging" TagPrefix="uc1" %>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
<div class="row-fluid">
    <div class="span12">
        <div class="head">
            <div class="isw-grid"></div>
            <h1>Logs</h1>
            <div class="clear"></div>
        </div>
        <div class="block-fluid table-sorting">
            <div class="dataTables_wrapper" id="tSortable_wrapper">
                <div>
                    <uc1:ucPaging ID="pagingtop" runat="server" Visible="false" />
                </div>
                <asp:GridView ID="grvData" CssClass="table2 dataTable" runat="server" 
                    AutoGenerateColumns="false" Width="100%" ShowHeaderWhenEmpty="true">
                    <Columns>
                        <asp:TemplateField HeaderText="STT" ItemStyle-CssClass="STT">
                            <ItemTemplate>
                                <%#(Container.DataItemIndex + 1) + (pagingtop.CurrentPage - 1) * pagingtop.PageSize%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="log_message" DataField="log_message" />
                        <asp:BoundField HeaderText="log_source" DataField="log_source" />
                        <asp:BoundField HeaderText="log_stack_trace" DataField="log_stack_trace" />
                        <asp:BoundField HeaderText="log_time" DataField="log_time" DataFormatString="{0:d}" ItemStyle-CssClass="Function" />
                    </Columns>
                </asp:GridView>
                <div class="dataTables_info" id="tSortable_info">
                    <asp:Literal ID="ltrInfo" runat="server" />
                </div>
                <div class="dataTables_paginate paging_full_numbers" id="tSortable_paginate">
                    <uc1:ucPaging ID="pagingbottom" runat="server" Visible="false" />
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
</div>
</asp:Content>
